.vocabulary-book {
  max-width: 1200px;
  margin: 0 auto;
}

.content {
  margin-top: 0px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 10px;
  padding: 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filters {
  margin-bottom: 10px;
  text-align: center;
}

.word-link {
  font-family: 'DynaPuff', sans-serif;
  color: #409eff;
  cursor: pointer;
  text-decoration: underline;
}

.word-link:hover {
  color: #66b1ff;
}

.phonetic {
  font-weight: bold;
  color: #409eff;
}

.part-of-speech-tag {
  margin-right: 5px;
  font-style: italic;
  color: #909399;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.empty {
  margin-top: 50px;
}

/* 单词详情样式 */
.word-detail-content {
  padding: 10px;
}

.phonetic-section {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.meanings-variations-container {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.meanings-section,
.variations-section {
  flex: 1;
}

.variations-section h4,
.meanings-section h4,
.examples-section h4,
.user-progress-section h4 {
  margin: 15px 0 10px 0;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.meaning-item {
  margin-bottom: 15px;
}

.part-of-speech {
  margin-bottom: 5px;
}

.explanations {
  padding-left: 20px;
  margin: 5px 0;
}

.explanations li {
  margin-bottom: 5px;
}

.variation-item {
  margin-bottom: 8px;
  padding: 5px 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.variation-word {
  font-weight: bold;
  color: #409eff;
}

.variation-pos {
  color: #909399;
  font-style: italic;
  margin: 0 5px;
}

.variation-explanation {
  color: #666;
}

.phrases-section h4 {
  margin: 15px 0 10px 0;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.phrases-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

:deep(.el-table) {
  background-color: transparent !important;
  --el-table-header-bg-color: transparent;
  --el-table-bg-color: transparent;
  --el-table-tr-bg-color: transparent;
  --el-table-expanded-cell-bg-color: transparent;
}

.phrase-item {
  flex: 1;
  min-width: 200px;
  margin-bottom: 10px;
  padding: 10px;
  background-color: #f5f7fa;
  border-radius: 4px;
}

.phrase-original {
  font-weight: bold;
  margin-bottom: 5px;
}

.phrase-explanation {
  color: #666;
  font-style: italic;
  margin-bottom: 5px;
}

.phrase-example {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #ddd;
}

.example-original {
  font-style: italic;
  margin-bottom: 5px;
}

.example-translation {
  color: #666;
}

.part-of-speech {
  margin-bottom: 5px;
}

.explanations {
  padding-left: 20px;
  margin: 5px 0;
}

.explanations li {
  margin-bottom: 5px;
}

.example-original {
  font-style: italic;
  margin-bottom: 5px;
}

.example-translation {
  color: #666;
}

.progress-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.progress-item {
  display: flex;
  justify-content: space-between;
}

.progress-item .label {
  font-weight: bold;
}

@media (max-width: 768px) {
  .pagination {
    margin: 4px;
  }
}